import { CHANGE_CURRENT_ID, CHANGE_CURRENT_TAB } from '../constants/ActionTypes';

const changeCurrentID = selectedFileID => ({
  type: CHANGE_CURRENT_ID,
  selectedFileID,
});

const changeCurrentTab = clickedTabIdx => ({
  type: CHANGE_CURRENT_TAB,
  clickedTabIdx,
});

export default {
  changeCurrentID,
  changeCurrentTab,
};
